<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%
//从上一页面点击row过来，传了row id 过来
//pageContext.setAttribute("_prePageListId",request.getParameter("_id"));
pageContext.setAttribute("_prePageListId",request.getParameter("_id")==null?"":request.getParameter("_id"));
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<script type="text/javascript">
var isIe = $.browser.msie;
var valueFilterNum = 0;

//定义全局变量记录分页信息
var paramData = {
 page:1,
 rows:60,
 sortOrder:'desc',
 sortColumn:''
};
var msgOut={};

$(function(){
    $(pager).pagination({
        displayMsg: '<span style="color: red; margin-right: 100px;"></span>' +
        '当前显示 {from} - {to} 条记录   共 {total} 条记录'
    });
})

</script>
<style type="text/css">
	.condition {
		float: left;
		width: 400px;
		height: 25px;
		border: 1px solid #fff;
	}

	.condition .mylabel {
		width: 120px;
		float: left;
		border: 0px solid #fff;
	}

	.condition .myinput {
		width: 150px;
		float: left;
		border: 0px solid #fff;
	}

	.condition .myfilter {
		width: 300px;
		float: left;
		border: 0px solid #fff;
	}

	.clearboth {
		clear: both;
	}

</style>
</head>

<%@taglib uri="/struts-tags" prefix="s" %>
<body>
<div class="easyui-layout" data-options="fit:true"  id="conditionNorth" style="visibility:hidden;">
	<div data-options="region:'east'" style="width:100px;text-align:center; ">
		<div style="height: 2px;"></div>
		<a id='queryBtn_Filter' href='#' class='easyui-linkbutton' data-options="iconCls:'icon-search'" onclick='javascript:queryBtn_Filter();'>查询</a>
	</div>
	<div data-options="region:'center'" style="overflow:hidden;  padding-left: 3px;padding-top: 3px;">
		<div id="_conditionContentDiv" style="border: 0px solid red;">
			<script type="text/javascript">
				var columnPropertyArr = new Array();
				var columnPropertyTypeArr = new Array();
			</script>
				<div class="condition" style="display: none;">
					<div>
						<div class="myinput">
							<input type="text" class="easyui-textbox" id="owrType" value="1" name="owrType" placeholder=""/>
						</div>
						<script type="text/javascript">
							columnPropertyArr[columnPropertyArr.length] = 'owrType';
							columnPropertyTypeArr[columnPropertyTypeArr.length] = 'input';
						</script>
					</div>
				</div>

				<%--<div class="condition">
						<div class="item">
							<label class="mylabel">创建日期：</label>
							<div class="myinput">
								<input type="text" class="easyui-textbox" id="createdate" name="createdate" placeholder=""/>
							</div>
							<script type="text/javascript">
							columnPropertyArr[columnPropertyArr.length] = 'createdate';
							columnPropertyTypeArr[columnPropertyTypeArr.length] = 'input';
							</script>
						</div>

				</div>--%>
				<%--<div class="condition">
						<div class="item">
							<label class="mylabel">创建人：</label>
							<div class="myinput">
								<input type="text" class="easyui-textbox" id="createman" name="createman" placeholder=""/>
							</div>
							<script type="text/javascript">
							columnPropertyArr[columnPropertyArr.length] = 'createman';
							columnPropertyTypeArr[columnPropertyTypeArr.length] = 'input';
							</script>
						</div>

				</div>
				<div class="condition">
						<div class="item">
							<label class="mylabel">修改人：</label>
							<div class="myinput">
								<input type="text" class="easyui-textbox" id="modifyman" name="modifyman" placeholder=""/>
							</div>
							<script type="text/javascript">
							columnPropertyArr[columnPropertyArr.length] = 'modifyman';
							columnPropertyTypeArr[columnPropertyTypeArr.length] = 'input';
							</script>
						</div>

				</div>--%>
			<div class="condition">
				<div class="item">
					<label class="mylabel">任务状态：</label>
					<div class="myinput">
						<!-- 数据字典取值 -->
						<s:select
								id="owTaskStatus"
								name="owTaskStatus"
								value=""
								list="#attr._enumData.OwTaskStatus4condition"
								listKey="keyName"
								listValue="valueName"
								theme="simple"
								cssStyle="width:150px"
								data-options="editable:false"
								cssClass="easyui-combobox"/>
					</div>
					<script type="text/javascript">
						columnPropertyArr[columnPropertyArr.length] = 'owTaskStatus';
						columnPropertyTypeArr[columnPropertyTypeArr.length] = 'combobox';
					</script>
				</div>
			</div>
				<div class="condition">
						<div class="item">
							<label class="mylabel">所属区域：</label>
							<div class="myinput">
										<!-- 动态通过SQL取值 -->
										<s:select
												id="owrRegionId"
												name="owrRegionId"
                                                value=""
												list="#attr._selectOptions4owrRegionId.list4condition"
												listKey="keyName"
												listValue="valueName"
												theme="simple"
												cssStyle="width:150px"
												data-options="editable:false"
												cssClass="easyui-combobox"/>
							</div>
							<script type="text/javascript">
							columnPropertyArr[columnPropertyArr.length] = 'owrRegionId';
							columnPropertyTypeArr[columnPropertyTypeArr.length] = 'combobox';
							</script>
						</div>

				</div>
				<%--<div class="condition">
						<div class="item">
							<label class="mylabel">区域名称：</label>
							<div class="myinput">
								<input type="text" class="easyui-textbox" id="regionName" name="regionName" placeholder=""/>
							</div>
							<script type="text/javascript">
							columnPropertyArr[columnPropertyArr.length] = 'regionName';
							columnPropertyTypeArr[columnPropertyTypeArr.length] = 'input';
							</script>
						</div>

				</div>--%>
			<div class="condition">
				<div class="item">
					<label class="mylabel">检查人员：</label>
					<div class="myinput">
						<input type="text" class="easyui-textbox" id="userName" name="userName" placeholder=""/>
					</div>
					<script type="text/javascript">
						columnPropertyArr[columnPropertyArr.length] = 'userName';
						columnPropertyTypeArr[columnPropertyTypeArr.length] = 'input';
					</script>
				</div>

			</div>
			<div class="condition">
				<div class="item">
					<label class="mylabel">受检工地企业：</label>
					<div class="myinput">
						<input type="text" class="easyui-textbox" id="entityName" name="entityName" placeholder=""/>
					</div>
					<script type="text/javascript">
						columnPropertyArr[columnPropertyArr.length] = 'entityName';
						columnPropertyTypeArr[columnPropertyTypeArr.length] = 'input';
					</script>
				</div>

			</div>
			<div class="condition">
				<div class="item">
					<label class="mylabel">抽查年份：</label>
					<div class="myinput">
						<%--<input type="text" class="easyui-textbox" id="year" name="year" placeholder=""/>--%>
						<select id="year" class="easyui-combobox" name="year" style="width:150px;"
								data-options="editable:true">
							<option value=""></option>
							<option>2019</option>
							<option>2020</option>
							<option>2021</option>
							<option>2022</option>
							<option>2023</option>
							<option>2024</option>
							<option>2025</option>
							<option>2026</option>
							<option>2027</option>
							<option>2028</option>
							<option>2029</option>
							<option>2030</option>
							<option>2031</option>
							<option>2032</option>
							<option>2033</option>
							<option>2034</option>
							<option>2035</option>
							<option>2036</option>
							<option>2037</option>
							<option>2038</option>
							<option>2039</option>
						</select>
					</div>
					<script type="text/javascript">
						columnPropertyArr[columnPropertyArr.length] = 'year';
						columnPropertyTypeArr[columnPropertyTypeArr.length] = 'input';
					</script>
				</div>
			</div>
			<div class="condition">
					<div class="item">
						<label class="mylabel">抽查月份：</label>
						<div class="myinput">
							<%--<input type="text" class="easyui-textbox" id="month" name="month" placeholder=""/>--%>
							<select id="month" class="easyui-combobox" name="month" style="width:150px;"
									data-options="editable:true">
								<option value="">全部</option>
								<option value="01">01月</option>
								<option value="02">02月</option>
								<option value="03">03月</option>
								<option value="04">04月</option>
								<option value="05">05月</option>
								<option value="06">06月</option>
								<option value="07">07月</option>
								<option value="08">08月</option>
								<option value="09">09月</option>
								<option value="10">10月</option>
								<option value="11">11月</option>
								<option value="12">12月</option>
							</select>
						</div>
						<script type="text/javascript">
						columnPropertyArr[columnPropertyArr.length] = 'month';
						columnPropertyTypeArr[columnPropertyTypeArr.length] = 'input';
						</script>
					</div>
			</div>
			<div class="condition">
				<div class="item">
					<label class="mylabel">派发状态：</label>
					<div class="myinput">
						<select id="owTaskId" name="owTaskId" class="easyui-combobox" style="width:150px;">
							<option value="">全部</option>
							<option value="0">未派发</option>
						</select>
					</div>
					<script type="text/javascript">
						columnPropertyArr[columnPropertyArr.length] = 'owTaskId';
						columnPropertyTypeArr[columnPropertyTypeArr.length] = 'input';
					</script>
				</div>
			</div>
				<%--<div class="condition">
						<div class="item">
							<label class="mylabel">检查人员：</label>
							<div class="myinput">
										<!-- 动态通过SQL取值 -->
										<s:select
												id="userId"
												name="userId"
                                                value=""
												list="#attr._selectOptions4userId.list4condition"
												listKey="keyName"
												listValue="valueName"
												theme="simple"
												cssStyle="width:100px"
												data-options="editable:false"
												cssClass="easyui-combobox"/>
							</div>
							<script type="text/javascript">
							columnPropertyArr[columnPropertyArr.length] = 'userId';
							columnPropertyTypeArr[columnPropertyTypeArr.length] = 'combobox';
							</script>
						</div>

				</div>--%>
				<%--<div class="condition">
						<div class="item">
							<label class="mylabel">受检餐厨企业：</label>
							<div class="myinput">
										<!-- 动态通过SQL取值 -->
										<s:select
												id="entityId"
												name="entityId"
                                                value=""
												list="#attr._selectOptions4entityId.list4condition"
												listKey="keyName"
												listValue="valueName"
												theme="simple"
												cssStyle="width:100px"
												data-options="editable:false"
												cssClass="easyui-combobox"/>
							</div>
							<script type="text/javascript">
							columnPropertyArr[columnPropertyArr.length] = 'entityId';
							columnPropertyTypeArr[columnPropertyTypeArr.length] = 'combobox';
							</script>
						</div>

				</div>--%>

			<div class="clearboth"></div>
			<div style="height: 0px;"></div>
		</div>
	</div>
</div>
</body>
</html>
